# 安装 redis



cd /cardone/middlewares/redis

kubectl create -f pv.yml 

kubectl create configmap redis-conf --from-file=redis.conf

kubectl describe cm redis-conf

kubectl create -f headless-service.yml

kubectl get svc



kubectl get pods -o wide 

kubectl get pv






